<li style="height:100px;line-height:100px;backgroupd:none;">
<img src="<?php echo $data->image;?>" 
style="width:100px; height:100px;float:left;" />

<a style="float:left;display:block;height:20px;line-height:20px;padding-left:10px;" 
	href="<?php echo Yii::app()->createUrl('product/view', array('id'=>$data->id));?>"><?php echo $data->name;?></a>
<div style="float:left;line-height:20px;width:540px;">
<?php 

$m_content =	trim( preg_replace("/<[^>]+>/", "", $data->intro.$data->content) );
$m_content = preg_replace('/ {2,}/', "", $m_content);
echo mb_substr($m_content, 0, mb_strlen($m_content, 'utf-8')>400?400:mb_strlen($m_content, 'utf-8'), 'utf-8');?>...
</div>	
</li>
